package com.pocket.insight.base.sql;

import com.pocket.insight.base.exception.BizException;
import com.pocket.insight.controller.dto.PathTableNode;
import com.pocket.insight.entity.Connection;

import java.util.List;

/**
 * 描述：
 *
 * @author zhaozhile
 */
public interface Provider {

    void setOptions(Connection.ConnectionOptions connectionOptions);

    default List<PathTableNode> getPathTables(List<String> path) {
        throw new BizException("ERROR_EXCEPTION_HAPPEN: " + "unsupported method");
    }

}
